AZ-400 Free Questions Good Demo For Microsoft AZ-400 Exam [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success 1.Topic 1, Litware inc. Case Study: 1 Overview Existing Environment Litware, Inc. an independent software vendor (ISV) Litware has a main office and five branch offices. Application Architecture The company’ s primary application is a single monolithic retirement fund management system based on ASP.NE T web forms that use logic written in V8.NET. Some new sections of the application are written in C#. Variations of the application are created for individual customers. Currently, there are more than 80 have code branches in the application’s code base. The application was developed by using Microsoft Visual Studio. Source code is stored in Team Foundation Server (TFS) in the main office. The branch offices access of the source code by using TFS proxy servers. Architectural Issues Litware focuses on writing new code for customers. No resources are provided to refactor or remove existing code. Changes to the code base take a long time, AS dependencies are not obvious to individual developers. Merge operations of the code often take months and involve many developers. Code merging frequently introduces bugs that are difficult to locate and resolve. Customers report that ownership costs of the retirement fund management system increase continually. The need to merge unrelated code makes even minor code changes expensive. Requirements Planned Changes Litware plans to develop a new suite of applications for investment planning. The investment planning Applications will require only minor integration with the easting retirement fund management system. The investment planning applications suite will include one multi-tier web application and two iOS mobile applications. One mobile application will be used by employees; the other will be used by customers. Litware plans to move to a more agile development methodology. Shared code will be extracted into a series of package. Litware has started an internal cloud transformation process and plans to use cloud based services whenever suitable. Litware wants to become proactive m detecting failures, rather than always waning for customer bug reports. [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Technical Requirements The company's investment planning applications suite must meet the following technical requirements: • New incoming connections through the firewall must be minimized. • Members of a group named Developers must be able to install packages. • The principle of least privilege must be used for all permission assignments • A branching strategy that supports developing new functionality in isolation must be used. • Members of a group named Team leaders must be able to create new packages and edit the permissions of package feeds • Visual Studio App Center must be used to centralize the reporting of mobile application crashes and device types in use. • By default, all App Center must be used to centralize the reporting of mobile application crashes and device types in use. • Code quality and release quality are critical. During release, deployments must not proceed between stages if any active bugs are logged against the release. • The mobile applications must be able to call the share pricing service of the existing retirement fund management system. Until the system is upgraded, the service will only support basic authentication over HUPS. • The required operating system configuration tor the test servers changes weekly. Azure Automation State Configuration must be used to ensure that the operating system on each test servers configured the same way when the servers are created and checked periodically. Current Technical The test servers are configured correctly when first deployed, but they experience configuration drift over time. Azure Automation State Configuration fails to correct the configurations. Azure Automation State Configuration nodes are registered by using the following command. DRAG DROP Which package feed access levels should be assigned to the Developers and Team Leaders groups for the investment planning applications suite? To answer, drag the [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success appropriate access levels to the correct groups. Each access level may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer: [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Explanation: Box 1: Reader Members of a group named Developers must be able to install packages. Feeds have four levels of access: Owners, Contributors, Collaborators, and Readers. Owners can add any type of identity-individuals, teams, and groups-to any access level. Box 2: Owner Members of a group named Team Leaders must be able to create new packages and edit the permissions of package feeds. 2. HOTSPOT How should you confrere the release retention policy for the investment planning depletions suite? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Answer: Explanation: Every request made against a storage service must be authorized, unless the request is for a blob or container resource that has been made available for public or signed access. One option for authorizing a request is by using Shared Key. Scenario: The mobile applications must be able to call the share pricing service of the existing retirement fund management system. Until the system is upgraded, the [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success service will only support basic authentication over HTTPS. The investment planning applications suite will include one multi-tier web application and two iOS mobile application. One mobile application will be used by employees; the other will be used by customers. References: https://docs.microsoft.com/en-us/rest/api/storageservices/authorize-with- shared-key 3. You have a project in Azure DevOps. You plan to deploy a self-hosted agent by using an unattended configuration script. Which two values should you define in the configuration script? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. authorization credentials B. the project name C. the deployment group name D. the organization URL E. the agent pool name Answer: A,D Explanation: Unattended config: The agent can be set up from a script with no human intervention. You must pass -- unattended and the answers to all questions. To configure an agent, it must know the URL to your organization or collection and credentials of someone authorized to set up agents. All other responses are optional. Reference: https://docs.microsoft.com/en- us/azure/devops/pipelines/agents/v2-windows 4. HOTSPOT You need to configure a cloud service to store the secrets required by the mobile applications to call the share. What should you include in the solution? To answer, select the appropriate options m the answer area. NOTE: Each correct selection is worth one point. [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Answer: [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Explanation: Every request made against a storage service must be authorized, unless the request is for a blob or container resource that has been made available for public or signed access. One option for authorizing a request is by using Shared Key. Scenario: The mobile applications must be able to call the share pricing service of the existing retirement fund management system. Until the system is upgraded, the service will only support basic authentication over HTTPS. The investment planning applications suite will include one multi-tier web application and two iOS mobile application. One mobile application will be used by employees; the other will be used by customers. References: https://docs.microsoft.com/en-us/rest/api/storageservices/authorize-with- shared-key 5. You have Azure Pipelines and GitHub integrated as a source code repository. The build pipeline has continuous integration enabled. You plan to trigger an automated build whenever code changes are committed to the repository. You need to ensure that the system will wait until a build completes before queuing [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success another build. What should you implement? A. path filters B. batch changes C. scheduled builds D. branch filters Answer: B Explanation: Batching CI runs If you have many team members uploading changes often, you may want to reduce the number of runs you start. If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Example: # specific branch build with batching trigger: batch: true branches: include: - master To clarify this example, let us say that a push A to master caused the above pipeline to run. While that pipeline is running, additional pushes B and C occur into the repository. These updates do not start new independent runs immediately. But after the first run is completed, all pushes until that point of time are batched together and a new run is started. Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github 6. What should you use to implement the code quality restriction on the release pipeline for the investment planning applications suite? A. a trigger B. a pre deployment approval C. a post-deployment approval D. a deployment gate Answer: D 7. HOTSPOT How should you complete the code to initialize App Center in the mobile application? To answer, select the appropriate options in the answer area. NOTE: Each correct selection a worth one point. [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Answer: Explanation: Scenario: Visual Studio App Center must be used to centralize the reporting of mobile application crashes and device types in use. In order to use App Center, you need to opt in to the service(s) that you want to use, meaning by default no services are started and you will have to explicitly call each of them when starting the SDK. Insert the following line to start the SDK in your app's AppDelegate class in the didFinishLaunchingWithOptions method. MSAppCenter.start("{Your App Secret}", withServices: [MSAnalytics.self, MSCrashes.self]) References: https://docs.microsoft.com/en-us/appcenter/sdk/getting-started/ios 8. Which branching strategy should you recommend for the investment planning applications suite? A. release isolation B. main only C. development isolation D. feature isolation Answer: C Explanation: Scenario: A branching strategy that supports developing new functionality in isolation must be used. Feature isolation is a special derivation of the development isolation, allowing you to [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success branch one or more feature branches from main, as shown, or from your dev branches. When you need to work on a particular feature, it might be a good idea to create a feature branch. 9. HOTSPOT Where should the build and release agents for the investment planning application suite run? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer: [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Explanation: Box 1: A source control system A source control system, also called a version control system, allows developers to collaborate on code and track changes. Source control is an essential tool for multi- developer projects. Box 2: A hosted service To build and deploy Xcode apps or Xamarin.iOS projects, you'll need at least one macOS agent. If your pipelines are in Azure Pipelines and a Microsoft-hosted agent meets your needs, you can skip setting up a self-hosted macOS agent. Scenario: The investment planning applications suite will include one multi-tier web application and two iOS mobile applications. One mobile application will be used by employees; the other will be used by customers. References: https://docs.microsoft.com/en- us/azure/devops/pipelines/agents/v2-osx?view=azure-devops 10. HOTSPOT How should you configure the release retention policy for the investment planning applications suite? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Answer: Explanation: [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Scenario: By default, all releases must remain available for 30 days, except for production releases, which must be kept for 60 days. Box 1: Set the default retention policy to 30 days The Global default retention policy sets the default retention values for all the build pipelines. Authors of build pipelines can override these values. Box 2: Set the stage retention policy to 60 days You may want to retain more releases that have been deployed to specific stages. References: https://docs.microsoft.com/en- us/azure/devops/pipelines/policies/retention 11. You are using GitHub as a source code repository. You create a client-side Git hook on the commit-msg event. The hook requires that each commit message contain a custom work item tag. You need to make a commit that does not have a work item tag. Which git commit parameter should you use? A. --squash B. --no-verify C. --message '' D. --no-post-rewrite Answer: B Explanation: The commit-msg hook is invoked by git-commit and git-merge, and can be bypassed with the --no-verify option. Reference: https://git-scm.com/docs/githooks 12. HOTSPOT HOTSPOT You are using PowerShell to administer Azure Log Analytics workspaces. You need to list the available workspaces and their properties. How should you complete the command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer: [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Explanation: Box 1: Get-AzResource Use the following command to examine the access control mode for all workspaces in the subscription: PowerShell Get-AzResource -ResourceType Microsoft.OperationalInsights/workspaces - ExpandProperties | foreach {$_.Name + ": " + $_.Properties.features.enableLogAccessUsingOnlyResourcePermissions Box 2: -ResourceType 13. HOTSPOT You have an Azure virtual machine named VM1 that runs Linux. You plan to deploy the Desired State Configuration (DSC) extension to VM1. You need to grant the Log Analytics agent the appropriate directory permissions. How should you complete the command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer: Explanation: Box 1: rwx [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success The Log Analytics agent for Linux runs as the omsagent user. To grant >write permission to the omsagent user, run the command setfacl -m u:omsagent:rwx /tmp. Box 2: /tmp Deploying DSC to a Linux node uses the /tmp folder. 14. To resolve the current technical issue, what should you do to the Register- AzureRmAutomationDscNode command? A. Change the value of the ConfigurationMode parameter. B. Replace the Register-AzureRmAutomationDscNode cmdlet with Register- AzureRmAutomationScheduledRunbook C . Add the AllowModuleOverwrite parameter. D. Add the DefaultProfile parameter. Answer: A Explanation: Change the ConfigurationMode parameter from ApplyOnly to ApplyAndAutocorrect. The Register-AzureRmAutomationDscNode cmdlet registers an Azure virtual machine as an APS Desired State Configuration (DSC) node in an Azure Automation account. Scenario: Current Technical Issue The test servers are configured correctly when first deployed, but they experience configuration drift over time. Azure Automation State Configuration fails to correct the configurations. Azure Automation State Configuration nodes are registered by using the following command. References: https://docs.microsoft.com/en-us/powershell/module/azurerm.automation /register-azurermautomationdscnode?view=azurermps-6.13.0 15. Topic 2, Contoso Case Study: 2 Overview Existing Environment Contoso, Ltd. is a manufacturing company that has a main office in Chicago. Contoso plans to improve its IT development and operations processes by [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success implementing Azure DevOps principles. Contoso has an Azure subscription and creates an Azure DevOps organization. The Azure DevOps organization includes: • The Docker extension • A deployment pool named Pool7 that contains 10 Azure virtual machines that run Windows Server 2016 The Azure subscription contains an Azure Automation account. Planned Changes Contoso plans to create projects in Azure DevOps as shown in the following table. Technical Requirements Contoso identities the following technical requirements: • Implement build agents rot Project 1. • Whenever possible, use Azure resources • Avoid using deprecated technologies • Implement a code flow strategy for Project2 that will: • Enable Team 2 to submit pull requests for Project2. • Enable Team 2 to work independently on changes to a copy of Project? • Ensure that any intermediary changes performed by Tram2 on a copy of Project2 will be subject to the same restrictions as the ones defied in the build policy of Project2. [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success • Whenever possible. Implement automation and minimize administrative effort. • Implement Protect3, Project5, Project6, and Project7 based on the planned changes. • Implement Project4 and configure the project to push Docker images to Azure Container Reentry. DRAG DROP You need to implement Project6. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them m the correct order. Answer: [2021-9-29] Microsoft Certified AZ-400 Exam Questions Ensure Your Success Explanation: Scenario: Implement Project3, Project5, Project6, and Project7 based on the planned changes Step 1: Open the release pipeline editor. In the Releases tab of Azure Pipelines, select your release pipeline and choose Edit to open the pipeline editor. Step 2: Enable Gates. Choose the pre-deployment conditions icon for the Production stage to open the conditions panel. Enable gates by using the switch control in the Gates section. Step 3: Add Query Work items. Choose + Add and select the Query Work Items gate. Configure the gate by selecting an existing work item query.